package com.liuxy.javautil;

public class HTMLUtil {
	private static final String TAG = "MyTools.HTMLUtil";
	public static String decodeHtml(String str) {
        String rst = str;

        rst = rst.replaceAll("&lt;", "<");
        rst = rst.replaceAll("&gt;", ">");
        rst = rst.replaceAll("&quot;", "\"");
        rst = rst.replaceAll("&amp;", "&");
        return rst;
    }
	
	private HTMLUtil(){
		/* cannot be instantiated */
		throw new UnsupportedOperationException(TAG+" cannot be instantiated");
	}
}
